package com.heima.model.admin.pojos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 管理员角色信息表
 *
 * @TableName ad_user_role
 */
@TableName(value = "ad_user_role")
@Data
public class AdUserRole implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @TableId(value = "id")
    private Object id;
    /**
     * 角色ID
     */
    @TableField(value = "role_id")
    private Object role_id;
    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private Object userId;
    /**
     * 登录时间
     */
    @TableField(value = "created_time")

    private Date createdTime;
}